﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace WebApplication5.Models
{
    public class Student
    {
        [Key]
        public string StuNumber { get; set; }
        public string ClassId { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        public string Sex { get; set; }
        public string Grade { get; set; }
        public string Address { get; set; }
        public string Contact { get; set; }
        public int CreditED { get; set; }
        public int CreditING { get; set; }
        public int CreditNEED { get; set; }
        public string SchoolSituation { get; set; }
        public string EntranceTime { get; set; }
        public string Graduation { get; set; }
        public string NativePlace { get; set; }
        public string Political { get; set; }
        public string Nationality { get; set; }
        public string Nation { get; set; }
        public string Marriage { get; set; }
        public string Email { get; set; }
        public string MajorId { get; set; }
        public string DormAddress { get; set; }
        public string EmergencyNumber { get; set; }
        public string State { get; set; }
        public string Remarks { get; set; }
    }
}
